home *** CD-ROM | disk | FTP | other *** search
- (c) S.Hawtin 1990
-
- This directory contains some old example code from Electronic Arts, I
- have included it to show how to get round some of the bugs in NorthC. The
- code reads iff image files, I have only changed the code enough to get the
- "showilbm" program working, I have steadfastly resisted all temptation to
- "improve" the code. There are a number of places where NorthC changes the
- way the code could be written, for example in NorthC when the program is
- started from the workbench the filename can be passed as the second argument
- rather than wandering around the workbench structures.
-
- The only program in this directory that works is "showilbm", this reads
- ilbm image files, such as for example those produced by "Deluxe Paint II"
- and displays them on the screen.
-
- The only reason I chose to port this program was that I wanted to
- display a picture and this seemed to be the only program to do it in my
- current collection, I believe that there are more recient program that do
- the same thing better.
-
- Once again this example is of little use to you unless you have a copy
- of the include files, talk to Commodore about that.
-
- The sections of code that I have changed are in the following format
-
- #ifdef NORTHC
- /* Section of NorthC specific code */
- #else
- /* Section of original code */
- #endif
-
- the individual changes are explained by each section, most of the changes
- are to get round bugs in NorthC 1.3.
-